package com.l2qq.common.kit;

import com.jfinal.kit.StrKit;

public class TookKit {
    public boolean eqStr(Object obj) {
        if (obj == null) {
            return false;
        } else return obj instanceof String;
    }

    public boolean isID(String id) {
        if ("id".equals(id)) {
            return true;
        }else{
            return false;
        }
    }

    public boolean noNull(Object obj) {
        if (obj instanceof String) {
            return StrKit.notBlank((String) obj);
        }else if (obj != null) {
            return true;
        } else {
            return false;
        }
    }
}
